package com.wuxi.zhang.collection;

import java.util.HashSet;
import java.util.Set;

/**
 * @author wheat on 2019/12/20.
 */
public class HashSetTest {

    public static void main(String[] args) {
        Set<String> hashset = new HashSet();
        hashset.add("A");
        hashset.add("B");
        hashset.add("C");
        hashset.add("A");
        for (String s : hashset) {
            System.out.println(s);
        }


    }
}
